<div class ="wr">
    <div id="top">
        <form action="<?php echo base_url(). "schedule/build/" . $path["id"]; ?>" method="post">
            <div id="learning_path_information">
                <h2><?php echo $path["title"]; ?></h2>
                <span class="learning_path_description">
                    <?php echo $information["description"]; ?>
                </span>
            </div>
            <div id="learning_path_functions">
                <input style=" width: 75%;" type="submit" name="mySubmit" value="Xây dựng kế hoạch" />
                <br/>
                Đánh giá: <?php echo $information["comment_number"]["number"]; ?>
                <img src="rating.gif" alt="4.5 sao" />
                <br/>
                Thảo luận: <?php echo $information["rating_number"]["number"]; ?>
                <input type="button" value="Xem bình luận" />
            </div>
        </form>
    </div>
    <div id="bottom">
        <div id="learning_path_content">
            <?php foreach ($section as $cap_hoc_item): ?>
                <div class="step">
                    <h3><?php echo $cap_hoc_item['title']; ?></h3>
                    <span class="step_description">
                        <?php echo $cap_hoc_item['description'] ?>
                    </span>
                    <div class="learning_action">
                        <?php foreach ($action[$cap_hoc_item["id"]] as $act): ?>
                            <div class="resource">
                                <p>
                                    <img class="icon-elc" src="<?php echo base_url(); ?>assets/images/book_icon.png" alt="some_text"/>
                                    <a id="11111" class="link-elc" href="<?php echo $act["link"]; ?>">
                                        <strong></strong><?php echo $act["title"]; ?>
                                    </a>
                                    <img src="<?php echo base_url(); ?>assets/images/confirm-grey.gif" alt="some_text"/>
                                </p>
                            </div>
                        <?php endforeach; ?>
                    </div>
                </div>
            <?php endforeach; ?>
        </div>
        <div id="supporting_boxs">
            <div class="box">
                <div class="box_title">
                    <h4>Tóm tắt nội dung</h4>
                </div>
                <div class="box_content">
                    <ul>
                        <?php foreach ($section as $cap_hoc_item): ?>
                            <li><?php echo $cap_hoc_item['title']; ?></li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            </div>
            <div class="box">
                <div class="box_title">
                    <h4>Thông tin</h4>
                </div>
                <div class="box_content">
                    <ul>
                        <li>Phiên bản: <?php echo $information['version']; ?><br/>(<a href="<?php echo base_url() . "path/history/" . $path["id"]; ?>">Xem lịch sử thay đổi</a>)</li>
                        <li>Người tạo: <a href="<?php echo base_url() . "member/profile/" . $contributor[count($contributor) - 1]["id"]; ?>"><?php echo $contributor[count($contributor) - 1]["fullname"]; ?></a></li>
                        <li> Đóng góp
                            <ul>
                                <?php foreach ($contributor as $dong_gop_item): ?>
                                    <li><a href="<?php echo base_url() . "member/profile/" . $dong_gop_item['id']; ?>"><?php echo $dong_gop_item['fullname']; ?></a></li>
                                <?php endforeach; ?>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="box">
                <div class="box_title">
                    <h4>Chủ đề</h4>
                </div>
                <div class="box_content">
                    <table>
                        <?php foreach ($tag as $chu_de_item): ?>
                            <tr>
                                <td><a href="<?php echo base_url() . "home/tag/" . $chu_de_item['id']; ?>"><?php echo $chu_de_item['title']; ?></a></td>
                                <td><div class="tag_number"><?php echo $chu_de_item['path_number'] ?></div></td>

                            </tr>
                        <?php endforeach; ?>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>